package com.mbsu.core.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.mbsu.core.persistency.dao.UserAccountDAO;
import com.mbsu.core.persistency.domain.UserAccount;
import com.mbsu.core.service.UserAccountService;

@Service("userAccountService")
public class UserAccountServiceImpl implements UserAccountService{

	
	@Resource
	private UserAccountDAO userAccountDAO;
	
	public List<UserAccount> listUserAccounts(UserAccount userAccount) {
		return userAccountDAO.listUserAccounts(userAccount);
		
	}

	public void save(UserAccount userAccount) {
		userAccountDAO.save(userAccount);
		
	}

	public void delete(UserAccount userAccount) {
		userAccountDAO.delete(userAccount);
	}
	

}
